Skip to content

docs: add FastAPI (casbin-fastapi-decorator) integration guide#989

Open
Neko1313 wants to merge 4 commits intocasdoor:masterfrom
Neko1313:master
Open

docs: add FastAPI (casbin-fastapi-decorator) integration guide#989
Neko1313 wants to merge 4 commits intocasdoor:masterfrom
Neko1313:master

Conversation

@Neko1313
Copy link
Copy Markdown

@Neko1313 Neko1313 commented Mar 7, 2026

Summary

  • Add integration guide for casbin-fastapi-decorator — a community library providing decorator-based Casbin authorization and Casdoor OAuth2 authentication for FastAPI
  • Register the library in the ecosystem page under the Python tag (static/data/ecosystem/Integrations.json)
  • Add the doc to the sidebar under Integration → Python
  • Fix markdownlint errors across several existing files (MD029, MD046, MD051, MDX angle-bracket URLs)

Related

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 7, 2026

Deploy Preview for iridescent-baklava-0d7550 ready!

Name Link
🔨 Latest commit 943b059
🔍 Latest deploy log https://app.netlify.com/projects/iridescent-baklava-0d7550/deploys/69b247991e922e0007f610c1
😎 Deploy Preview https://deploy-preview-989--iridescent-baklava-0d7550.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 7, 2026

CLA assistant check
All committers have signed the CLA.

@Neko1313
Copy link
Copy Markdown
Author

Neko1313 commented Mar 7, 2026

@hsluoyz Could you take a look at this pull request?

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds an integration guide for casbin-fastapi-decorator, a community library providing decorator-based Casbin authorization and Casdoor OAuth2 authentication for FastAPI. The guide is registered in the ecosystem page under the Python tag and added to the sidebar under Integration → Python. The PR also includes several markdownlint fixes across existing documentation files (MD029 ordered list markers, MD046 code block style consistency, and whitespace around admonition content).

Changes:

  • New integration guide docs/integration/python/casbin-fastapi.md covering installation, quick start, enforce target configuration, advanced composition, and component overview.
  • Ecosystem page and sidebar updated to include the new FastAPI integration entry.
  • Markdownlint fixes (MD029, MD046) across multiple existing provider and connection docs, plus link checker config updates for newly-referenced URLs.

Reviewed changes

Copilot reviewed 19 out of 20 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
docs/integration/python/casbin-fastapi.md New integration guide for casbin-fastapi-decorator with FastAPI
static/data/ecosystem/Integrations.json Registers FastAPI entry under Python tag
sidebars.js Adds casbin-fastapi to the Python integrations sidebar
docs/provider/oauth/{azureAD,baidu,gitee,github,gitlab,google,infoflow,linkedin}.md Adds <!-- markdownlint-disable MD029 --> to suppress ordered list marker linting
docs/provider/web3/metamask.md Adds blank line inside :::tip admonition
docs/provider/oauth/weCom.md Adds blank line inside :::info admonition
docs/provider/idv/jumio.md Adds blank line before list inside section
docs/how-to-connect/saml/tencent-cloud.md Adds blank line inside :::info admonition
docs/how-to-connect/oauth.md Removes <span id="1"></span> anchor from heading
docs/how-to-connect/mobile-sdks/react-native-app.md Removes a blank line between two Markdown tables
docs/basic/server-installation.mdx Converts bold URLs to inline code in admonition
docs/basic/public-api.md Converts indented code blocks to fenced code blocks
.github/workflows/docs.links.check.config.json Adds ignore patterns for Jumio, Gitee, and GitLab links

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread docs/integration/python/casbin-fastapi.md Outdated
@Neko1313
Copy link
Copy Markdown
Author

Neko1313 commented Mar 7, 2026

@hsluoyz is ready

@Neko1313
Copy link
Copy Markdown
Author

@hsluoyz you forgot about me :( ?

@Neko1313
Copy link
Copy Markdown
Author

@hsluoyz updated the project to avoid this critical integration bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants